
<?php query_posts('showposts=2'); ?>
<h3>新鲜的博文，欢迎点击，评论</h3>
<div class="spost clearfix">
<?php while (have_posts()) : the_post(); ?>    
        <div class="entry-image">
          <?php //ist_thumte(10,10); ?>
        </div>
        <div class="entry-c">
          <div class="entry-title">
            <h4><a href="<?php the_permalink() ?>" >
              <?php the_title(); ?>
              </a>
                <!--判断是否是置顶文章-->
          <?php if (is_sticky()) { ?>
                  <img src="<?php bloginfo('template_url'); ?>/images/zd.png" title="博主推荐" href="<?php the_permalink();?>" />
                <?php } ?>
                <?php if (is_sticky()==false) { ?>
                  <img src="<?php echo get_stylesheet_directory_uri();?>/images/new.gif" title="最新博文"/></a></li>
                <?php } ?>
              </h4>
          </div>
          <ul class="entry-meta">
            <li><i class="fa fa-clock-o"></i> <?php echo timeago( get_gmt_from_date(get_the_time('Y-m-d G:i:s')) ) ?></li>
            <li>
              <i class="fa fa-user">  六娃</i>
            </li>
            <li>
              <i class="fa fa-th">  测试ing</i>
            </li>
          </ul>
        </div>
      
<?php endwhile;?>    
</div>                           
